package com.fintech.third.dao.intbank;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fintech.third.model.intbank.IntBankCredittips;

public interface IntBankCredittipsMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IntBankCredittips record);

    int insertSelective(IntBankCredittips record);

    IntBankCredittips selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(IntBankCredittips record);

    int updateByPrimaryKey(IntBankCredittips record);
    
    List<IntBankCredittips>  intBankCredittips(@Param("serialNum") String serialNum);
    
    
    List<IntBankCredittips> intBankCredittipsLoanId(@Param("loanId") String loanId);
    
    
    /**
	 * 通过查询流水号获取
	 * 
	 * @param serialNum
	 * @return
	 */
    IntBankCredittips getIntBankCredittipsByNum(String serialNum);
}